/**
 * @version 1.0.0
 * @Title: MidiEvent
 * @Package: lx.music.sound.midi
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-10-30 18:51
 */
package lx.music.sound.midi;

/**
 * @version 1.0.0
 * @Title: MidiEvent
 * @Package: lx.music.sound.midi
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-10-30 18:51
 */
public class MidiEvent {

    private final MidiMessage message ;

    private long tick ;

    public MidiEvent(MidiMessage message,long tick){
        this.message = message ;
        this.tick = tick ;
    }

    public MidiMessage getMessage(){
        return message ;
    }

    public void setTick(long tick){
        this.tick = tick ;
    }

    public long getTick(){
        return tick ;
    }

}
